﻿using OpenAdmin.Core.DbContextLocators;
using OpenAdmin.Core.Models;

namespace OpenAdmin.EntityFramework.SeedDataConfigure;

public partial class SysApiResourceSeedData : IEntityTypeSeedDataConfigure<SysApiResource, ApplicationDbContextLocator>
{
    public IEnumerable<SysApiResource> HasData(DbContext dbContext)
    {
        return SeedData.GetSysApiResources();
    }
}
